package com.baishancloud.log.common.entity

import scala.beans.BeanProperty

/**
 * 维表（运营商）数据对象
 *
 * @param id   id
 * @param code 英文释义
 * @author ziqiang.wang 
 * @date 2022/2/16 14:05
 */
case class IspEntity(
                      @BeanProperty var id: Int,
                      @BeanProperty var code: String
                    ) extends Serializable

object IspEntity extends Serializable {
  def apply(): IspEntity = new IspEntity(0, "")

  /**
   * 运营商数据默认对象
   */
  val DEFAULT = new IspEntity(9, "other")
}